package com.ruoyi.system.domain.estate;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房屋信息对象 t_house
 * 
 * @author ruoyi
 */
public class House extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房屋ID */
    private Long houseId;

    /** 所属楼宇ID */
    @Excel(name = "所属楼宇ID")
    private Long buildingId;

    /** 所属楼宇 */
    @Excel(name = "所属楼宇")
    private String buildingName;

    /** 房屋编号 */
    @Excel(name = "房屋编号")
    private String houseCode;

    /** 单元号 */
    @Excel(name = "单元号")
    private String unitNumber;

    /** 楼层号 */
    @Excel(name = "楼层号")
    private String floorNumber;

    /** 房间号 */
    @Excel(name = "房间号")
    private String roomNumber;

    /** 户型 */
    @Excel(name = "户型")
    private String houseType;

    /** 建筑面积(平方米) */
    @Excel(name = "建筑面积(平方米)")
    private BigDecimal area;

    /** 使用面积(平方米) */
    @Excel(name = "使用面积(平方米)")
    private BigDecimal useArea;

    /** 房屋状态（0自住 1出租 2空置 3装修中） */
    @Excel(name = "房屋状态", readConverterExp = "0=自住,1=出租,2=空置,3=装修中")
    private String houseStatus;

    /** 物业费(元/月) */
    @Excel(name = "物业费(元/月)")
    private BigDecimal propertyFee;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0存在 1删除） */
    private String delFlag;

    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }
    
    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }
    
    public void setBuildingName(String buildingName) 
    {
        this.buildingName = buildingName;
    }

    public String getBuildingName() 
    {
        return buildingName;
    }
    
    public void setHouseCode(String houseCode) 
    {
        this.houseCode = houseCode;
    }

    public String getHouseCode() 
    {
        return houseCode;
    }
    
    public void setUnitNumber(String unitNumber) 
    {
        this.unitNumber = unitNumber;
    }

    public String getUnitNumber() 
    {
        return unitNumber;
    }
    
    public void setFloorNumber(String floorNumber) 
    {
        this.floorNumber = floorNumber;
    }

    public String getFloorNumber() 
    {
        return floorNumber;
    }
    
    public void setRoomNumber(String roomNumber) 
    {
        this.roomNumber = roomNumber;
    }

    public String getRoomNumber() 
    {
        return roomNumber;
    }
    
    public void setHouseType(String houseType) 
    {
        this.houseType = houseType;
    }

    public String getHouseType() 
    {
        return houseType;
    }
    
    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }
    
    public void setUseArea(BigDecimal useArea) 
    {
        this.useArea = useArea;
    }

    public BigDecimal getUseArea() 
    {
        return useArea;
    }
    
    public void setHouseStatus(String houseStatus) 
    {
        this.houseStatus = houseStatus;
    }

    public String getHouseStatus() 
    {
        return houseStatus;
    }
    
    public void setPropertyFee(BigDecimal propertyFee) 
    {
        this.propertyFee = propertyFee;
    }

    public BigDecimal getPropertyFee() 
    {
        return propertyFee;
    }
    
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("houseId", getHouseId())
            .append("buildingId", getBuildingId())
            .append("buildingName", getBuildingName())
            .append("houseCode", getHouseCode())
            .append("unitNumber", getUnitNumber())
            .append("floorNumber", getFloorNumber())
            .append("roomNumber", getRoomNumber())
            .append("houseType", getHouseType())
            .append("area", getArea())
            .append("useArea", getUseArea())
            .append("houseStatus", getHouseStatus())
            .append("propertyFee", getPropertyFee())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
} 